
    <div class="partials--banner">
        <img srcset="{SKIN_PATH}images/banner-1920w.jpg" alt="">
    </div>
    {if !$CATEGORYS[$top_parentid]}
                 {php $cateid=$catid}
                 {else}
                 {php $cateid=$CATEGORYS[$top_parentid]['catid'];}
    {/if}
    <div class="partials--breadcrumb">
        <div class="container">
            <div class="big-title">{if $CATEGORYS[$top_parentid][child] == 0 && $CATEGORYS[$top_parentid][modelid] == 3}PRODUCT
               {elseif $CATEGORYS[$top_parentid][child] == 0 && $CATEGORYS[$top_parentid][modelid] == 0}{$catdir}{elseif $CATEGORYS[$top_parentid][child] == 0 && $CATEGORYS[$top_parentid][modelid] == 0 || $CATEGORYS[$top_parentid][modelid] == 11} NEWS CENTER{else}{$CATEGORYS[$cateid]['catdir']}{/if}</div>
            <div class="name">贏世自动化</div>
            <div class="breadcrumb">
                <span>您所在的位置:&nbsp;</span>
                <ul class="list">
                    <li class="item">
                       <a href="{WEB_PATH}">首页</a>>
                    </li class="item">
                    {catpos($catid)}
                </ul>
            </div>
        </div>
    </div>
<div class="container l-layout content-min-heihgt">
        <div class="l-left">
            <div class="partials--sidebar">
                <div class="title">赢世{if $CATEGORYS[$top_parentid][child] == 0 && $CATEGORYS[$top_parentid][modelid] == 3}产品中心{php $cateid = 2;}
               {elseif $CATEGORYS[$top_parentid][child] == 0 && $CATEGORYS[$top_parentid][modelid] == 0}自动化
               {elseif $CATEGORYS[$top_parentid][child] == 0 && $CATEGORYS[$top_parentid][modelid] == 0 || $CATEGORYS[$top_parentid][modelid] == 11}新闻中心 
               {php $cateid=3;}
               {else}{$CATEGORYS[$cateid]['catname']}{/if}</div>
               {if $CATEGORYS[$top_parentid][child] == 0 && $CATEGORYS[$top_parentid][modelid] == 0} 
               {pc:get sql="select * from phpcms_category where parentid=0 and modelid=0"  return="cateArr"}{/pc}
                {else}
                {pc:content action="category" catid="$cateid" siteid="$siteid" return="cateArr"}{/pc}
                {/if}
                <ul class="list">
                   {loop $cateArr $cv}
                    <li class="item {if $cv['catid'] == $catid} is-active{/if}">
                        <a href="{$cv['url']}">{$cv['catname']}</a>
                    </li>
                   {/loop}
                </ul>
            </div>
        </div>